package model;

import java.util.Date;

/**
 * TUser entity. @author MyEclipse Persistence Tools
 */

public class TUser implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String ageaed;
	private Date birthday;
	private String phone;
	private String usertype;
	private String username;
	private String pwd;
	private String EMail;
	private String photo;
	private String idnum;

	// Constructors

	/** default constructor */
	public TUser() {
	}

	/** minimal constructor */
	public TUser(Integer id, String phone, String pwd) {
		this.id = id;
		this.phone = phone;
		this.pwd = pwd;
	}

	/** full constructor */
	public TUser(Integer id, String name, String ageaed, Date birthday,
			String phone, String usertype, String username, String pwd,
			String EMail, String photo, String idnum) {
		this.id = id;
		this.name = name;
		this.ageaed = ageaed;
		this.birthday = birthday;
		this.phone = phone;
		this.usertype = usertype;
		this.username = username;
		this.pwd = pwd;
		this.EMail = EMail;
		this.photo = photo;
		this.idnum = idnum;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAgeaed() {
		return this.ageaed;
	}

	public void setAgeaed(String ageaed) {
		this.ageaed = ageaed;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getUsertype() {
		return this.usertype;
	}

	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getEMail() {
		return this.EMail;
	}

	public void setEMail(String EMail) {
		this.EMail = EMail;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getIdnum() {
		return this.idnum;
	}

	public void setIdnum(String idnum) {
		this.idnum = idnum;
	}

}